package com.healthcloud.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

/**
 * Created with IntelliJ IDEA.
 * @author : yucl
 * Date: 2017/12/21
 * Time: 11:01
 * To change this template use File | Settings | File Templates.
 * Description:
 */
@Data
@ApiModel(value = "仪器数据上传参数",description = "仪器数据上传参数")
public class TestdataVO {

    @ApiModelProperty(value = "仪器编号",required = true)
    @NotBlank(message = "仪器编号不能为空")
    private String mechineId;

    @ApiModelProperty(value = "测试项目，例如【Hcy】",required = true)
    @NotBlank(message = "测试项目不能为空")
    private String testProject;

    @ApiModelProperty(value = "患者姓名",required = true)
    private String patientName;

    @ApiModelProperty(value = "测试结果",required = true)
    @NotBlank(message = "测试结果不能为空")
    private String testResult;

    @ApiModelProperty(value = "测试时间，格式为【yyyy-MM-dd HH:mm:ss】",required = true)
    @NotBlank(message = "测试时间不能为空")
    private String resultTime;

    @ApiModelProperty(value = "患者身份证号",required = true)
    @NotBlank(message = "患者身份证号不能为空")
    private String patientIdCard;

    @ApiModelProperty(value = "测试通道")
    private String testCh;

    @ApiModelProperty(value = "测试单位")
    private String resultUnit;

    @ApiModelProperty(value = "警告标志")
    private String resultWarming;

    @ApiModelProperty(value = "项目批号")
    private String projectBatch;

    @ApiModelProperty(value = "患者手机号")
    private String patientPhone;

    @ApiModelProperty(value = "送检医院，部门")
    private String clinicalDept;

    @ApiModelProperty(value = "送检医生")
    private String cliniainsName;

    @ApiModelProperty(value = "采血或送检日期／时间")
    private String samplingTime;

    @ApiModelProperty(value = "检验医院")
    private String inspectionDept;

    @ApiModelProperty(value = "检验医生")
    private String inspectorName;

    @ApiModelProperty(value = "样本编号")
    private String sampleNo;

    @ApiModelProperty(value = "最高值")
    private String consultHigh;

    @ApiModelProperty(value = "最低值")
    private String consultLow;

    @ApiModelProperty(value = "测试类型，1代表餐前,2代表餐后")
    private String mealType;

    @ApiModelProperty(value = "检测结果(0=偏低1=正常 9=偏高)")
    private String consultResult;

    @ApiModelProperty(value = "结果偏低值")
    private String resultLow;

    @ApiModelProperty(value = "结果偏高值")
    private String resultHigh;

    @ApiModelProperty(value = "病人地址")
    private String patientAddress;

    @ApiModelProperty(value = "病人头像")
    private String patientImage;

    @ApiModelProperty(value = "数据类型 " +
            "1=smart  2=acr 3=FP-100 4=Hy-50 5= MS-H630 " +
            "备注：推荐写入这个字段，如果是老版本则填写【machineType】字段")
    private String dataType;

    @ApiModelProperty(value = "仪器类型:" +
            "备注：兼容老板本：" +
            "如果是smart：值为：【SMART_IV_Plus】" +
            "如果是FP-100：值为：【FP-100】；如果是acr，值为【acr】;如果是Hy-50，值为【Hy-50】;如果是【MS-H630】，值为【MS-H630】")
    private String machineType;

}